package com.shang.dao;

import com.shang.entity.Result;
import com.shang.entity.UserMark;

import java.util.List;

public interface ResultDao {
    List<UserMark> getUserMark(String userName);
    int updateSolved(long comment_id);
    boolean getSolved(long comment_id);
    int deleteUserMark(long comment_id);
    int addResult(String date);
    boolean haveResult(String date);
    int updateResult(String date,int beforeValue,int afterValue);
    Result getResultByDate(String date);
}
